package com.project.mapper;

import com.project.bean.ClassBean;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 班级Mapper接口
 */
public interface IClassMapper {
    /**
     * 查询所有班级
     * @return 班级集合
     */
    @Select("select * from t_class")
    @ResultMap("classMap")
    public List<ClassBean> findAll();
}
